import axios from "axios"

export function request(config){
  const ax = axios.create({
    baseURL:"/http",
    timeout:5000,
    method:config.method || "GET"
  })
  return ax(config)
}